package com.itbaizhan.account;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@Slf4j
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.itbaizhan.account.mapper")
public class AccountMain7070 {

    public static void main(String[] args) {
        SpringApplication.run(AccountMain7070.class,args);
        log.info("****** 账户微服启动成功*******");
    }
}
/*账户微服监听rocketmq,接收消息，rocketmq可能会推送很多次消息，要进行幂等性处理,理新账户金额
* 账户微服能远程调用充值微服查询充值记录*/